package org.swift.mashup.engine.model.processors;

import org.swift.mashup.engine.model.ActivityContext;

/**
 * Provides a means for "pre-processing" data acquired from a grab so types other than xml can be supported
 * @author bvanmaurik
 *
 */
public interface FromProcessor {
	/**
	 * Take the data returned by the from and process it into xml
	 * @param data Data acquired from the grab
	 * @return processed data
	 */
	public ActivityContext processData(ActivityContext data);
}
